﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TransCend.Model
{
    public enum DataType
    {
        /// <summary>
        ///	Short text data
        ///	the correspoding type of SQLServer is nvarchar
        ///	the correspoding type of ORACLE is nvarchar2
        /// </summary>
        String = 1,
        /// <summary>
        ///	Int data, for example: 100
        /// </summary>
        Int = 2,
        /// <summary>
        ///	 Decimal data, for example: 100.023
        /// </summary>
        Decimal = 3,
        /// <summary>
        ///	Long text data
        ///	the corresponding type of SQLServer is NTEXT
        ///	the corresponding type of ORACLE is CLOB
        /// </summary>
        NText = 4,
        /// <summary>
        ///	Date data without time, for example: 1900-01-01
        /// </summary>
        Date = 7,
        /// <summary>
        ///	Time data, for example: 00:00:00
        /// </summary>
        //Time = 8,
        /// <summary>
        ///	DateTime data, for example: 1900-01-01 00:00:00
        /// </summary>
        DateTime = 9,
        /// <summary>
        /// 日期数据，在数据库中以nvarchar(10)存储，形如：2012-09-09
        /// </summary>
        //DateString = 10,
        /// <summary>
        /// 时间数据，在数据库中以nvarchar(8)存储，形如：09:00:00
        /// </summary>
        //TimeString = 11,
        /// <summary>
        /// 日期时间数据，在数据库中以nvarchar(19)存储，形如：2012-09-09 09:00:00
        /// </summary>
        //DateTimeString = 12,

        Float = 13,

        Bit = 14,

        Char = 15
        
    }
}
